#region Copyright Jonathan Quiros

//	
// All rights are reserved. Reproduction or transmission in whole or in 
// part, in any form or by any means, electronic, mechanical or otherwise, 
// is prohibited without the prior written consent of the copyright owner.
//
// Filename: RolesLogic.cs
//

#endregion

using System.Collections.Generic;
using Novagoal.Models;
using Novagoal.Repositories;

namespace Novagoal.Logic
{
    public class RolesLogic : BaseLogic
    {
        #region CONSTANTS



        #endregion

        #region PROPERTIES

        private readonly IRolesRepository _rolesRepository;

        #endregion

        #region PUBLIC METHODS

        public RolesLogic(IRolesRepository rolesRepository)
        {
            _rolesRepository = rolesRepository;
        }

        public List<Role> GetRoles(int maxRoleId)
        {
            return _rolesRepository.GetRoles(maxRoleId);
        }

        #endregion

        #region PRIVATE METHODS



        #endregion
    }
}